<{include file ="header.tpl"}>
<{include file ="navibar.tpl"}>
<{include file ="sidebar.tpl"}>
<!-- START 以上内容不需更改，保证该TPL页内的标签匹配即可 -->
<{$osadmin_action_alert}>
<{$osadmin_quick_note}>

<div class="well">
    <ul class="nav nav-tabs">
        <li class="active"><a href="#home" data-toggle="tab">訂單列表</a></li>
    </ul>

    <div id="myTabContent" class="tab-content">
        <div class="tab-pane active in" id="home">

            <form id="tab" method="post" action="">
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>訂單編號</th>
                        <th>產品ID</th>
                        <th>產品名稱</th>
                        <th>用戶名</th>
                        <th>數量</th>
                        <th>手機號</th>
                        <th>地址</th>
                        <th>快遞名稱</th>
                        <th>快遞狀態</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <{foreach name=sn from=$sns item=sn}>
                        <tr>
                            <td><{$sn.order_sn}></td>
                            <td><{$sn.products_id}></td>
                            <td><{$sn.products_name}></td>
                            <td><{$sn.user_name}></td>
                            <td><{$sn.num}></td>
                            <td><{$sn.phone}></td>
                            <td><{$sn.addr}></td>
                            <td><{$sn.kd_name}>
                            <td><{$sn.kd_status}>
                            </td>
                            <td>
                                <a class="btn btn-info"
                                   href="kuaidi.php?id=<{$sn.products_id}>&order_sn=<{$sn.order_sn}>&action=modify"
                                   target="_self" title="配置物流信息"
                                   alt="配置物流信息">配置物流信息</a>

                                <a class="btn btn-info"
                                   href="order_sn.php?id=<{$sn.products_id}>&order_sn=<{$sn.order_sn}>&action=del"
                                   onclick="if(confirm('确定删除吗?')==false)return false;"
                                   target="_self" title="删除"
                                   alt="删除">删除</a>

                            </td>
                        </tr>
                        <{/foreach}>
                    </tbody>
                </table>
            </form>
        </div>
    </div>

    <!---操作的确认层，相当于javascript:confirm函数--->
    <{$osadmin_action_confirm}>


    <!-- END 以下内容不需更改，请保证该TPL页内的标签匹配即可 -->
    <{include file="footer.tpl" }>